package com.yuyu.sequence.seq.mapper;

import com.yuyu.sequence.seq.DbSeqEntity;

/**
 * 序列
 *
 * @author yuyu
 * @date 2018/12/5
 */
public interface SeqMapper {

    /**
     * 保存序列
     *
     * @param dbSeqEntity
     * @return
     */
    int saveSequence(DbSeqEntity dbSeqEntity);

    /**
     * 查询序列
     *
     * @param id
     * @return
     */
    DbSeqEntity getSequenceById(Integer id);

    /**
     * 修改序列
     *
     * @param dbSeqEntity
     * @return
     */
    int updateSequence(DbSeqEntity dbSeqEntity);


}
